<?php
@session_start();
$link=mysql_connect("localhost", "root", "");

if(!$link){
echo "not connected to database";
}

mysql_select_db("techworks");


$id = $_SESSION['plan_id'];
$OverallPlan= $_POST['overall-plan'];
$Communicate= $_POST['communicate-with-cus'];
$Sells= $_POST['selling-prod'];




$q= mysql_query ("insert into tw_com_plans(`plan_id`, `overall-plan`, `communicate-with-cus`, `selling-products` )
 values ('$id','$OverallPlan', '$Communicate', '$Sells')");

if($q){
	header("location: ../incubatee/wizard.php#tab_tab6 ");
	
	$_SESSION['acp']= "success";
					
}else {
	//echo mysql_error();
	header("location: ../incubatee/wizard.php#tab_tab6");
	
	
}

?>


